package com.simtop.pojo.experiment;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @author lvyongwei
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ExperimentVoThree extends ExperimentVo{

    /**
     * 粗抛与制绒
     */
    private String model1;

    /**
     * 硼扩散制结
     */
    private String model2;

    /**
     * 周边及背面扩散层、正面硼硅玻璃的去除
     */
    private String model3;

    /**
     * 背面氧化硅生长
     */
    private String model4;

    /**
     * 背面掺杂非晶硅生长
     */
    private String model5;

    /**
     * 高温晶化
     */
    private String model6;

    /**
     * 正面氧化铝生长
     */
    private String model7;

    /**
     * 正面氮化硅生长
     */
    private String model8;

    /**
     * 丝网印刷制备电极
     */
    private String model9;

    /**
     * 高温烧结
     */
    private String model10;

    /**
     * 测试分选
     */
    private String model11;

    /**
     * 页码数
     */
    private Integer pageNum;

    /**
     * 每页条数
     */
    private Integer pageSize;

    /**
     * 用户id
     */
    private Integer roleId;

    public ExperimentVoThree getObject(ExperimentVoTwo experimentVoTwo){
        ExperimentVoThree experimentVoThree = new ExperimentVoThree();
        experimentVoThree.setTotalScore(experimentVoTwo.getTotalScore());
        experimentVoThree.setConclusion(experimentVoTwo.getConclusion());
        experimentVoThree.setUseTime(experimentVoTwo.getUseTime());
        experimentVoThree.setModel1(JSONObject.toJSONString(experimentVoTwo.getModel1()));
        experimentVoThree.setModel2(JSONObject.toJSONString(experimentVoTwo.getModel2()));
        experimentVoThree.setModel3(JSONObject.toJSONString(experimentVoTwo.getModel3()));
        experimentVoThree.setModel4(JSONObject.toJSONString(experimentVoTwo.getModel4()));
        experimentVoThree.setModel5(JSONObject.toJSONString(experimentVoTwo.getModel5()));
        experimentVoThree.setModel6(JSONObject.toJSONString(experimentVoTwo.getModel6()));
        experimentVoThree.setModel7(JSONObject.toJSONString(experimentVoTwo.getModel7()));
        experimentVoThree.setModel8(JSONObject.toJSONString(experimentVoTwo.getModel8()));
        experimentVoThree.setModel9(JSONObject.toJSONString(experimentVoTwo.getModel9()));
        experimentVoThree.setModel10(JSONObject.toJSONString(experimentVoTwo.getModel10()));
        experimentVoThree.setModel11(JSONObject.toJSONString(experimentVoTwo.getModel11()));
        return experimentVoThree;
    }
}
